Skip to content

Conversation

@jurca
Copy link
Collaborator

@jurca jurca commented Feb 19, 2025

What do these changes do?

Adds the optional max_throughput constructor parameter, which enables rate-limiting task processing using a sliding time window (currently set to 1 second).

Are there changes in behavior for the user?

New feature.

Related issue number

Relates to #13

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@jurca jurca requested a review from asvetlov February 19, 2025 14:20
@jurca jurca self-assigned this Feb 19, 2025
@codecov
Copy link

codecov bot commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a215e91) to head (c1bc953).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          177       213   +36     
  Branches        34        38    +4     
=========================================
+ Hits           177       213   +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@asvetlov
Copy link
Member

Thank you! I'll do the careful review a little later, it takes time.

@jurca
Copy link
Collaborator Author

jurca commented Mar 20, 2025

@asvetlov Hello, just reminding you of this PR and project 😇 .

Hope you are doing well and will be able to take a look at this.

@jurca
Copy link
Collaborator Author

jurca commented Jun 6, 2025

@asvetlov Hello again, do you think you'll be able to review this PR 🙂?

I understand if life keeps getting in the way, it happens to me all the time as well. I just think it would be unfortunate to abandon this 🥺 .

@Vizonex
Copy link

Vizonex commented Jul 11, 2025

@jurca I accidently combined my pr with yours so there's a chance it gets through #26

pyproject.toml Outdated
authors = [
{name = "Andrew Svetlov",email = "[email protected]"}
{name = "Andrew Svetlov",email = "[email protected]"},
{name = "Martin Jurča", email = "[email protected]"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This core packaging metadata isn't supposed to reflect everybody who ever committed to the repository. It's more about substantial contributions, like a global rewrite or similar. Does this patch qualify?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I was the initiator of the effort that resulted in this library, this patch most likely does not quality, so I dropped the commit that updated the authors.

I'll still be happy to help with maintaining this library 🙂.

jurca added 2 commits July 15, 2025 20:54
The test is now less sensitive to the computational performance of the
runner's environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants